<template>
  <div class="box">
    <span>小明每次花100元, 老爸还有{{money}}元</span>
    <button @click="$emit('update:money', money-100)">花老爸的钱</button>
  </div>
</template>

<script type="text/ecmascript-6">
  export default {
    name: 'Child1',
    props: ['money']
  }
</script>
